package net.hn.hnms.biz.equipment.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.hn.hnms.biz.equipment.domain.CoalMineSysPointPo;

import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * @ClassName: SynergiaSysPointVO
 * @Description
 * @Author 王龙
 * @Date 2022-08-23
 * @Version 0.1
 */
@Data
@ApiModel(value = "数据库查询配置表关联协同开采视图")
@MappedSuperclass
public class SynergiaSysPointDto extends CoalMineSysPointPo {
    /**
     * 数据时间
     */
    @JsonFormat(timezone = "GMT+8")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;

    /**
     * 测点编码
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "测点编码")
    private String pointCode;
    /**
     * 测点类型编码
     */
    @ApiModelProperty(value = "测点类型编码")
    private String pointTypeCode;
    /**
     * 测点类型名称
     */
    @ApiModelProperty(value = "测点类型名称")
    private String pointTypeName;
    /**
     * 所属设备编码
     */
    @ApiModelProperty(value = "所属设备编码")
    private String deviceCode;
    /**
     * 测点数值
     */
    @ApiModelProperty(value = "测点数值")
    private Float pointValue;
    /**
     * 测点数值单位
     */
    @ApiModelProperty(value = "测点数值单位")
    private String pointValueUnit;
    /**
     * 测点状态
     */
    @ApiModelProperty(value = "测点状态")
    private Integer pointStatus;

    /**
     * 总数
     */
    @ApiModelProperty(value = "总数")
    private Integer total;

}
